[LegacyColorValue = true]; 

{ TSM StDev Residuals: current value of residual compared to 1 standard deviation of residuals
  Copyright 1996-1999, P J Kaufman. All rights reserved. }

	inputs:	period(20);
	vars:		sdr(0);

	sdr = TSMStDevResiduals(period);
	plot1(sdr,"stdres");